package cn.com.api.service.impl.base;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import cn.com.api.entity.ApiU_juhe_region;

import cn.com.api.mapper.ApiU_juhe_regionMapper;

import cn.com.api.service.ApiU_juhe_regionService;

/**
 * 
 **/
@Service
public class U_juhe_regionServiceImplBase {
	@Autowired
	private ApiU_juhe_regionMapper apiU_juhe_regionMapper;
    
    // 根据id获取
	public ApiU_juhe_region findU_juhe_regionById(Integer id){
		ApiU_juhe_region u_juhe_region = apiU_juhe_regionMapper.findU_juhe_regionById( id );
		return u_juhe_region;
	}
    
    //查看数据集
	public List<ApiU_juhe_region> findU_juhe_regions(){
        List<ApiU_juhe_region> u_juhe_regions = apiU_juhe_regionMapper.findU_juhe_regions();
		return u_juhe_regions;
    }
   
    
	// 添加
	public int insertU_juhe_region(ApiU_juhe_region u_juhe_region){
		int ret_I= apiU_juhe_regionMapper.insertU_juhe_region(u_juhe_region);
		return ret_I;
	}

	// 修改
	public int updateU_juhe_region(ApiU_juhe_region u_juhe_region){
		int ret_I= apiU_juhe_regionMapper.updateU_juhe_region(u_juhe_region);
		return ret_I;
	}
	
    // 删除
	public int deleteU_juhe_region(Integer id){
		int ret_I= apiU_juhe_regionMapper.deleteU_juhe_region( id );
		return ret_I;
	}
	
    // Foreign keys revelant		
		

	//region Indexs revelant
    
    
    
    
}


